//! Copyright 2011 Xicut Technology, Inc.
//! All rights reserved
//!
#ifndef __Config_h__
#define __Config_h__

#include "BasicTypes.h"
#include "BoardHardware.h"


#if defined (MACHINE1)
    #define MACHINE_ID  "001"
#else
#if defined (MACHINE2)
    #define MACHINE_ID  "002"
#else
    #define MACHINE_ID  "003"
#endif
#endif

#define MACHINE_ID_LENGTH   3

//!
class cConfig
{
public:

    static const U8 SIM900_SEND_POOL_SIZE = 8;
    static const U8 SIM900_RECEIVE_POOL_SIZE = 4;
    static const U8 SIM900_SMS_POOL_SIZE = SIM900_SEND_POOL_SIZE + SIM900_RECEIVE_POOL_SIZE;

    static const U8 MIN_PHONE_COUNT         = 4;
    static const U8 MAX_PHONE_COUNT         = 13;
    static const U8 MAX_SMS_SUPPORT_LENGTH  = 160;

    static const U32   SS_DEBOUNCE = 10;
};

#endif // __Config_h__
